package net.sf.midollo.io;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

public class WrappedIOStream implements IOStream {

	protected final InputStream is;
	protected final OutputStream os;

	public WrappedIOStream(IOStream ioStream) throws IOException {
		this.is = ioStream.getInput();
		this.os = ioStream.getOutput();
	}

	public InputStream getInput() throws IOException {
		return this.is;
	}

	public OutputStream getOutput() throws IOException {
		return this.os;
	}

	public void close() throws IOException {
	}
}
